package org.lingshi.common.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.lingshi.common.entity.Goods;
import org.lingshi.common.entity.GoodsDesc;

import java.util.List;

public interface IGoodsService {
    void add(Goods goods);

    void update(Goods goods);

    void putAway(Long gid,Boolean isMarketable);

    Goods findById(Long id);

    Page<Goods> search(Goods goods, int page, int size);

    List<GoodsDesc> findAll();

    GoodsDesc findDescById(Long id);

}
